package com.fxdigital.nvr;

/** 
 * 按时间加锁（或解锁）参数
 * */
public class LockByTimeParam {
	public LockByTimeParam() {
		startTime = new TimeInfo();
		stopTime = new TimeInfo();
	}
	
    private TimeInfo startTime; // 开始时间
    
    private TimeInfo stopTime; // 结束时间
    
    private int channel; // 通道号

    // 录像类型
    // 0xffffffff- 全部录像，0- 定时录像，1- 移动侦测录像，2- 报警录像，3- 报警或移动侦测录像，4- 报警和移动侦测录像， 
    // 5- 命令触发，6- 手动录像，7- 震动报警，8- 环境触发报警，9- 智能报警，10- 回传录像 
    private int recordType;

    // 锁定持续时间，单位：秒，0xffffffff- 永久锁定，0- 不锁或解锁
    private int lockDuration;

    // 加锁时有效，当dwLockDuration不为永久锁定时，锁定持续的时间到此时间点就自动解锁 
    private TimeInfo unlockTimePoint;

	public TimeInfo getStartTime() {
		return startTime;
	}

	public void setStartTime(TimeInfo startTime) {
		this.startTime = startTime;
	}

	public TimeInfo getStopTime() {
		return stopTime;
	}

	public void setStopTime(TimeInfo stopTime) {
		this.stopTime = stopTime;
	}

	public int getChannel() {
		return channel;
	}

	public void setChannel(int channel) {
		this.channel = channel;
	}

	public int getRecordType() {
		return recordType;
	}

	public void setRecordType(int recordType) {
		this.recordType = recordType;
	}

	public int getLockDuration() {
		return lockDuration;
	}

	public void setLockDuration(int lockDuration) {
		this.lockDuration = lockDuration;
	}

	public TimeInfo getUnlockTimePoint() {
		return unlockTimePoint;
	}

	public void setUnlockTimePoint(TimeInfo unlockTimePoint) {
		this.unlockTimePoint = unlockTimePoint;
	}
}
